<%--
功能: 商品类型多选
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ attribute name="items" type="java.util.List" required="true"
	description="商品类型的可供选择,需传入list对象"%>
<c:if test="${not empty items}">
	<select id="sc_productTypeIds" name="productTypeIds" size="6" multiple="multiple" style="width:150px;" class="selecttxt">
		<option value=""><fmt:message key="productType.all"/></value>
	<c:forEach items="${items}" var="productType">
		<option value="${productType.productTypeId}">${productType.productTypeName}</option>
	</c:forEach>
	</select>
</c:if>